<%-- 
    Document   : editar
    Created on : 11/10/2009, 04:09:00 PM
    Author     : Freddy
--%>
<%@page contentType="text/html"%>
<%@page pageEncoding="UTF-8"%>

<%@taglib prefix="f" uri="http://java.sun.com/jsf/core"%>
<%@taglib prefix="h" uri="http://java.sun.com/jsf/html"%>
<%@taglib prefix="t" uri="http://myfaces.apache.org/tomahawk"%>
<%@taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core"%>
<%@taglib prefix="a4j" uri="http://richfaces.org/a4j"%>
<%@taglib prefix="rich" uri="http://richfaces.org/rich"%>


<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
"http://www.w3.org/TR/html4/loose.dtd">
<%
        request.setAttribute("nombrePagina", "Plantilla");
%>
<f:view>
    <%@include file="/WEB-INF/jspf/header.jspf" %>

    <%@include file="/WEB-INF/jspf/breadcumbs.jspf" %>

    
    <html>
        <head>
            <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
            <title>Gesti&oacute;n de Notar&iacute;as</title>
        </head>
        <body>
            <h1>Gesti&oacute;n de Notar&iacute;as</h1>
            <h2>Lista de Notar&iacute;as</h2>
            <h:messages showDetail="true" />
            <h:form>
                <fieldset>
                    <legend>Actualizar Notar&iacute;as</legend>
                    <h:panelGrid columns="1">
                        <h:panelGrid columns="2">
                            <h:outputLabel value="Codigo Notaria: " for="codNotaria"/>
                            <h:inputText id="codNotaria" value="#{NotariaController.notaria.idNotaria}" readonly="true" size="5"/>
                        </h:panelGrid>
                        <h:panelGrid columns="2">
                            <h:outputLabel value="Nombre: " for="txtNombre"/>
                            <h:inputText id="txtNombre" value="#{NotariaController.notaria.nombre}" size="60" />
                        </h:panelGrid>
                        <h:panelGrid columns="2">
                            <h:outputLabel value="Direccion: " for="txtDireccion"/>
                            <h:inputText id="txtDireccion" value="#{NotariaController.notaria.direccion}" size="70" />
                        </h:panelGrid>
                        <h:panelGrid columns="2">
                            <h:outputLabel value="Telefono: " for="txtTelefono"/>
                            <h:inputText id="txtTelefono" value="#{NotariaController.notaria.telefono}"/>
                        </h:panelGrid>
                        <h:panelGrid columns="2">
                            <h:commandButton value="Volver" action="volver" />
                            <h:commandButton value="Actualizar" action="#{NotariaController.actualizar}" />
                        </h:panelGrid>
                    </h:panelGrid>
                </fieldset>
            </h:form>
        </body>
    </html>
    <%@include file="/WEB-INF/jspf/footer.jspf" %>
</f:view>

